package model;

import java.sql.Timestamp;

/**
 * Bean used to convert database humidity/temperature records like a java object.
 * 
 * @author INTI3D
 * 
 */
public class HumiTempBean {
	private Timestamp time	= null;
	private char type		= 'X';
	private double value	= 0;
	
	public Timestamp	getTime()	{	return time;	}
	public char			getType()	{	return type;	}
	public double		getValue()	{	return value;	}
	
	public void setTime(Timestamp t)	{	time = t;		}
	public void setType(char c)			{	type = c;		}
	public void setValue(double val)	{	value = val;	}
	
	public void setAll(Timestamp t, char c, double val){
		setTime(t);
		setType(c);
		setValue(val);
	}
}
